package com.chunuo.gulimall.ware.dao;

import com.chunuo.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 * 
 * @author liujiamiao
 * @email 2544296058@gmail.com
 * @date 2020-06-25 18:29:35
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    void updateStock(@Param("skuId") Long skuId,@Param("wareId") Long wareId,@Param("stock") Integer skuNum);
}
